package ${servicePackageName}.qo.sys;

import java.io.Serializable;

import javax.validation.constraints.NotBlank;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * 
 * @author lizihao
 *
 */
@Getter
@Setter
@Accessors(chain = true)
@ApiModel("登录请求数据")
public class LoginReq implements Serializable {

    private static final long serialVersionUID = 1L;

    @NotBlank(message="账号不能为空")
    @ApiModelProperty(value = "账号", required = true)
    private String userAccount;
    @NotBlank(message="密码不能为空")
    @ApiModelProperty(value = "密码", required = true)
    private String userPassword;
    @NotBlank(message="验证码不能为空")
    @ApiModelProperty(value = "验证码", required = true)
    private String captcha;
    @NotBlank(message="验证码key不能为空")
    @ApiModelProperty(value = "验证码key", required = true)
    private String captchaKey;

}
